package org.spamforces;

import com.google.inject.Binder;
import com.google.inject.Module;
import org.spamforces.dao.*;
import org.spamforces.dao.impl.*;

/**
 * @author Mike Mirzayanov
 */
public class ApplicationModule implements Module {
    @Override
    public void configure(Binder binder) {
        binder.bind(UserDao.class).to(UserDaoImpl.class);
        binder.bind(EmailDao.class).to(EmailDaoImpl.class);
        binder.bind(BroadcastDao.class).to(BroadcastDaoImpl.class);
        binder.bind(RecipientProviderDao.class).to(RecipientProviderDaoImpl.class);
        binder.bind(SmsDao.class).to(SmsDaoImpl.class);
    }
}
